package com.weishu.core.service.impl;



import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.weishu.core.caiwu.*;
import com.weishu.core.mapper.CwCztxApplyMapper;
import com.weishu.core.mapper.CwDealPerDayMapper;
import com.weishu.core.mapper.CwHailianDealPerDayMapper;
import com.weishu.core.service.ICwHailianDealPerDayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 海链财务报表(批处理对线上收入每天分类汇总统计一条记录，目前只有线上收入) 服务实现类
 * </p>
 *
 * @author zgx
 * @since 2021-10-19
 */
@Service
public class CwHailianDealPerDayServiceImpl extends ServiceImpl<CwHailianDealPerDayMapper, CwHailianDealPerDayEntity> implements ICwHailianDealPerDayService {


    @Autowired
    private CwHailianDealPerDayMapper hailianDealPerDayMapper;
    @Autowired
    private CwDealPerDayMapper cwDealPerDayMapper;
    @Autowired
    private CwCztxApplyMapper cwCztxApplyMapper;







    @Override
    public CwDealPerDayTotalDto searchHaiLianIncomeSum(HaiLianIncomePage param) {
        return hailianDealPerDayMapper.searchHaiLianIncomeSum(param);
    }

    @Override
    public List<CwDealPerDayDto> searchHaiLianIncomePage(HaiLianIncomePage param) {
        return hailianDealPerDayMapper.searchHaiLianIncomePage(param);
    }


}
